Stream the OpenAPI preview for Graph-sized spec selections - #1751
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | fcbfe50 | Aug 26 2026, 04:46 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | fcbfe50 | Commit Preview URL Branch Preview URL |
Aug 26 2026, 04:44 AM |
Contributor
Cloudflare previewTorn down — the PR is closed. |
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/plugin-file-secrets
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
RhysSullivan
marked this pull request as ready for review
August 26, 2026 05:22
This was referenced Aug 26, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previewing an OpenAPI integration with a spec-format selection (the Microsoft Graph preset URLs) parsed the 43MB Graph source whole. That builds a ~300MB tree, kills the 128MB Workers isolate mid-request, and surfaces in the add dialog as `Couldn't load or parse this spec` with an empty 503 behind it (trace `6af4828926a96ee93f9a608c7042e747`, 2026-08-26). The add/update path already streams via `structuralSplit`; the preview path did not.
Verified against the real 43MB Graph spec under a 160MB heap: mail preset previews 290 ops in ~0.8s at 129MB peak; the default 12-workload bundle previews 6,350 ops in ~1.0s at 154MB; the old whole-parse path now fails cleanly (`964,402 lines, limit 400,000`) instead of dying. Parity between streaming and whole-document previews is pinned by test on a shared fixture.